import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt

sns.set_theme()

data = np.loadtxt("cluster.txt", delimiter=",")
cluster_centers = data.reshape(-1, 7, 2)

plt.figure(figsize=(10, 10))

for i in range(cluster_centers.shape[0]):
    trajectory = cluster_centers[i]
    plt.scatter(trajectory[:, 0], trajectory[:, 1], marker='o')
    plt.plot(trajectory[:, 0], trajectory[:, 1])

plt.axis("equal")
plt.show()